package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

/**
 * @ClassName racenexusdata
 * @Author jingtao-zheng
 * @Date 2022/8/9 14:39
 * @Version 1.0
 **/
@DataType
public class racenexusdata implements DataClass {
    public int id;
    public int level;
    public int attackscale;
    public int pdefensescale;
    public int life;
    public int needlevel;//需要等级

    public int getId() {
        return id;
    }

    public int getLevel() {
        return level;
    }

    public int getAttackscale() {
        return attackscale;
    }

    public int getPdefensescale() {
        return pdefensescale;
    }

    public int getLife() {
        return life;
    }

    public int getNeedlevel() {
        return needlevel;
    }

    @Override
    public String getCode(){
        return String.valueOf(getId());
    }

}
